
#num = int(input("请输入数字"))
#if (num > 0 and num <= 100):
#####
##
for i in range (1,5+1):
    for j in range(5,i,-1):
        print(" ",end="")
    for j in range (1,2*i):
        print("*",end=" ")
    print()


for i in range (1,10,2):
    print(("*"*i).center(10))
for i in range (7,0,-2):
    print(("*"*i).center(10))